package com.xhb.biz.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.noear.solon.validation.annotation.NotNull;

import java.io.Serializable;

/**
 * 项目收藏网址
 * @author tanyukun
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_project_url")
public class ProjectUrlPO implements Serializable {

    @NotNull
    @TableId(type = IdType.NONE)
    private String id;

    @TableField("name")
    private String name;

    @TableField("project_id")
    private String projectId;

    @TableField("sort_no")
    private Integer sortNo;

    @TableField("url")
    private String url;

    @TableField("icon")
    private String icon;

}
